package cn.itcast.dao;

import cn.itcast.domain.Account;

import java.util.List;

public interface AccountDao {
    List<Account> findAll();

    int insert(Account account);

    int update(Account account);

    int delete(Account account);

    Account findById(Account account);
}